glassfish-mail software package provides Open source Java EE 5 Application Server, you can install in your Ubuntu 16.04 LTS (Xenial Xerus) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install glassfish-mail
glassfish-mail is installed in your system.
Make ensure the glassfish-mail package were installed using the commands given below,
$ sudo dpkg-query -l | grep glassfish-mail *
You will get with glassfish-mail package name, version, architecture and description in a table
| Distro | Ubuntu 16 04 lts xenial xerus |
| Section | Libraries |
| Package | glassfish-mail |
| Version | 1:2.1.1-b31g+dfsg1-3 |
| Description | Open source Java EE 5 Application Server |
| Sub Section | Libs |